import request from '../utils/request'

export interface requestData {
    cityId: string;
    pageNum: number;
    pageSize: number;
    type: number; // type 1正在热映 2即将上映
    k: string;
}
const header = {
    "X-Host": 'mall.film-ticket.film.list'
}

export default {
    getHotShow(data: requestData) {
        return request({
            url: '/gateway',
            data,
            header
            /* data: {
                cityId: '110100',
                pageNum: 1,
                pageSize: 10,
                type: 1,
                k: '4503069'
            } */
        })
    }
}